from sqlalchemy import Boolean, Column, String

from app.db.base import Base, TimestampMixin


class User(Base, TimestampMixin):
    """用户模型"""
    email = Column(String, unique=True, index=True, nullable=False)
    hashed_password = Column(String, nullable=False)
    full_name = Column(String, nullable=True)
    is_active = Column(Boolean, default=True)
    is_superuser = Column(Boolean, default=False)
    is_email_verified = Column(Boolean, default=False) 